package com.aliwo.exception;

import java.util.Optional;
import java.util.Set;

/**
 * @author:xuyayuan
 * @date:2021/7/26 9:53
 * @description:TODO
 */
public class ControllerException extends AppException {

    private static final long serialVersionUID = -6213025344211771481L;

    public ControllerException(String errorCode, String defaultMsg, Optional<Set> ex) {
        super(defaultMsg);
    }

    public ControllerException(String errorCode, String defaultMsg) {
        super(errorCode, defaultMsg);
    }

    public ControllerException(String errorCode, String defaultMsg, String i18nMsgCode, Object... i18nMsgData) {
        super(errorCode, defaultMsg, i18nMsgCode, i18nMsgData);
    }

    public ControllerException(Throwable cause, String errorCode, String defaultMsg, String i18nMsgCode,
                               Object... i18nMsgData) {
        super(cause, errorCode, defaultMsg, i18nMsgCode, i18nMsgData);
    }
}
